package com.gjy.design.decorator.s3;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-11-10 10:30:11
 */
public class SmartFilterChain {

    public static String sanitize(String input, SmartFilter... filters) {
        String s = input == null ? "" : input;
        for (SmartFilter f : filters) {
            s = f.apply(s);
        }
        return s;
    }

}
